@use "../../HTTPFuzzerPageShare.module.scss";

.table-container {
    border: 0 !important;
    .table-item-extracted-results {
        @extend .display-flex-center;
        overflow: hidden;
        .extracted-results-text {
            @extend .ellipsis-1;
        }
    }
    .operate-icons {
        @extend .display-flex-center;
        justify-content: center;
        gap: 12px;
        color: var(--Colors-Use-Neutral-Text-3-Secondary);

        svg {
            cursor: pointer;
            width: 16px;
            height: 16px;
            &:hover {
                color: var(--Colors-Use-Main-Primary);
            }
        }
    }
}
.table-container-border {
    border-bottom: transparent !important;
}

.body-length-text-red {
    color: var(--Colors-Use-Error-Primary);
}

.http-fuzzer-page-table {
    :global {
        .ant-card-bordered {
            border-left: transparent;
            border-right: transparent;
            border-top: transparent;
        }
    }

    .fuzzer-page-table-wrap {
        height: 100%;
    }
}

.unit-select {
    width: 60px;
    :global {
        .ant-select-arrow {
            z-index: 1;
        }
        .ant-select-selector {
            border-left-width: 0 !important;
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
            &:hover,
            &:focus,
            &:active {
                border-left-width: 1px !important;
                border-top-left-radius: 4px !important;
                border-bottom-left-radius: 4px !important;
            }
        }
        .ant-select-focused {
            .ant-select-selector {
                z-index: 1;
                border-left-width: 1px !important;
                border-top-left-radius: 4px !important;
                border-bottom-left-radius: 4px !important;
            }
        }
        .ant-select-open {
            .ant-select-selector {
                z-index: 1;
                border-left-width: 1px !important;
                border-top-left-radius: 4px !important;
                border-bottom-left-radius: 4px !important;
            }
        }
    }
}
.filter-icon {
    color: var(--Colors-Use-Neutral-Disable);
    @extend .display-flex-center;
}
.search-icon {
    svg {
        width: 16px;
        height: 16px;
    }
}
.active-icon {
    color: var(--Colors-Use-Main-Primary);
}

.fail-reason {
    @extend .ellipsis-1;
}

.range-input-number {
    :global {
        .ant-input-group.ant-input-group-compact > *:nth-child(3) {
            .ant-input-number {
                border-radius: 0 4px 4px 0;
                &:hover,
                &:focus,
                &:active {
                    border-radius: 4px;
                }
            }
        }
    }
}

.extracted-checkbox {
    display: flex;
    align-items: center;

    .tip {
        margin-left: 4px;
    }
}

.second-node-title-wrapper {
    @extend .display-flex-center;
    gap: 8px;
    .second-node-title-text {
        font-weight: 500;
        font-size: 12px;
        color: var(--Colors-Use-Neutral-Text-1-Title);
        line-height: 16px;
    }
    .second-node-title-btns {
        display: inline-flex;
        align-items: center;
    }
}
